Solution:
a1 = 3 a2 = 2 b1 = -1 b2 = -1 distance = ((b1 - a1) ** 2 + (b2 - a2) ** 2)**(1/2) print(f'The distance between points A and B: {distance}')